/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ortus.daemon;

/**
 *
 * @author jphipps
 */
public class Loader extends ortus.ortusvars implements Runnable {

    public Loader() {
	System.out.println("Ortus.daemon.Loader: Loading Ortus Environment");
        ortus.api.Setup("ortusdaemon", "DB|Theme|FavoriteExcluder|Menu|Cron|Process|Tcp");
    }

    public void run() {
	    while(true) {
		try {
			Thread.sleep(5000);
		} catch (InterruptedException ex) {
			ortus.api.DebugLog(ERROR,"daemonServer: sleep exception: " + ex);
		}
	    }
    }
}
